package com.lemon.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lemon.cloud.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "sys_application")
public class SysApplication extends BaseEntity implements Serializable {
    /**
     * 应用id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 应用code
     */
    @TableField(value = "code")
    private String code;

    /**
     * 应用别称
     */
    @TableField(value = "alias_name")
    private String aliasName;

    /**
     * icone
     */
    @TableField(value = "icon")
    private String icon;

    @TableField(value = "description")
    private String description;

    @TableField(value = "status")
    private String status;
}
